package package1;

/**
 * Created by Administrator on 2022/8/22.
 */
public class Person {
    private String name;
    public String gender;
    protected int age;
    String hobby;

    public void fun() {
        System.out.println(age);
    }
}
class Test {
    public static void main(String[] args) {
        Person p = new Person();
        p.age = 1;
        p.fun();
    }
}
